package com.lee.init.service.impl;

import com.lee.init.entity.CustomerCredit;
import com.lee.init.mapper.CustomerCreditMapper;
import com.lee.init.service.ICustomerCreditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author youzh
 */
@Service
public class CustomerCreditImpl implements ICustomerCreditService {

    @Autowired
    private CustomerCreditMapper creditMapper;

    @Override
    public int initCustomerCredit(CustomerCredit credit) {
        int count = creditMapper.initCustomerCredit(credit);
        return count;
    }
}
